-- GENERATED SPELL FOR [The Lich King] --


function spell0_29183(pUnit, Event) --@Apocalypse,Self--
pUnit:FullCastSpellOnTarget(53210,pUnit)
pUnit:RegisterEvent('Sorts_29183', 500, 1)
end

function Sorts_29183(pUnit, Event)
local choix_sorts_29183 = math.random(0, 0)
if choix_sorts_29183 == 0 then
pUnit:RegisterEvent('spell0_29183', 1, 1)
end
end

function mob29183_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29183', math.random(1500, 3000), 1)
end

function mob29183_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29183_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29183_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29183, 1, 'mob29183_Action')
RegisterUnitEvent(29183, 2, 'mob29183_Leave')
RegisterUnitEvent(29183, 3, 'mob29183_Kill')
RegisterUnitEvent(29183, 4, 'mob29183_Die')
